package com.hustzp.com.xichuangzhu.model;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

import java.io.Serializable;

/**
 * Copyright (C) 2015 The huimai mobile client Project
 * All right reserved.
 *
 * @author: wuzhimin@huimai365.com
 * @date: 2016/5/27 23:21
 * @Description:分类下子分类
 */
@DatabaseTable(tableName = "collections")
public class Collections implements Serializable{

    @DatabaseField(columnName = "id")
    private String id;
    @DatabaseField(columnName = "show_order")
    private String show_order;
    @DatabaseField(columnName = "works_count")
    private String works_count;
    @DatabaseField(columnName = "name")
    private String name;
    @DatabaseField(columnName = "abbr")
    private String abbr;
    @DatabaseField(columnName = "desc")
    private String desc;
    @DatabaseField(columnName = "cover")
    private String cover;
    @DatabaseField(columnName = "link")
    private String link;
    @DatabaseField(columnName = "kind_id")
    private String kind_id;
    @DatabaseField(columnName = "kind")
    private String kind;
    @DatabaseField(columnName = "name_tr")
    private String name_tr;
    @DatabaseField(columnName = "abbr_tr")
    private String abbr_tr;
    @DatabaseField(columnName = "desc_tr")
    private String desc_tr;
    @DatabaseField(columnName = "kind_tr")
    private String kind_tr;

    public Collections() {

    }

    public Collections(String id, String show_order, String works_count, String name, String abbr, String desc, String cover, String link, String kind_id, String kind, String name_tr, String abbr_tr, String desc_tr, String kind_tr) {
        this.id = id;
        this.show_order = show_order;
        this.works_count = works_count;
        this.name = name;
        this.abbr = abbr;
        this.desc = desc;
        this.cover = cover;
        this.link = link;
        this.kind_id = kind_id;
        this.kind = kind;
        this.name_tr = name_tr;
        this.abbr_tr = abbr_tr;
        this.desc_tr = desc_tr;
        this.kind_tr = kind_tr;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getShow_order() {
        return show_order;
    }

    public void setShow_order(String show_order) {
        this.show_order = show_order;
    }

    public String getWorks_count() {
        return works_count;
    }

    public void setWorks_count(String works_count) {
        this.works_count = works_count;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAbbr() {
        return abbr;
    }

    public void setAbbr(String abbr) {
        this.abbr = abbr;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public String getKind_id() {
        return kind_id;
    }

    public void setKind_id(String kind_id) {
        this.kind_id = kind_id;
    }

    public String getKind() {
        return kind;
    }

    public void setKind(String kind) {
        this.kind = kind;
    }

    public String getName_tr() {
        return name_tr;
    }

    public void setName_tr(String name_tr) {
        this.name_tr = name_tr;
    }

    public String getAbbr_tr() {
        return abbr_tr;
    }

    public void setAbbr_tr(String abbr_tr) {
        this.abbr_tr = abbr_tr;
    }

    public String getDesc_tr() {
        return desc_tr;
    }

    public void setDesc_tr(String desc_tr) {
        this.desc_tr = desc_tr;
    }

    public String getKind_tr() {
        return kind_tr;
    }

    public void setKind_tr(String kind_tr) {
        this.kind_tr = kind_tr;
    }

    @Override
    public String toString() {
        return "Collections{" +
                "id='" + id + '\'' +
                ", show_order='" + show_order + '\'' +
                ", works_count='" + works_count + '\'' +
                ", name='" + name + '\'' +
                ", abbr='" + abbr + '\'' +
                ", desc='" + desc + '\'' +
                ", cover='" + cover + '\'' +
                ", link='" + link + '\'' +
                ", kind_id='" + kind_id + '\'' +
                ", kind='" + kind + '\'' +
                ", name_tr='" + name_tr + '\'' +
                ", abbr_tr='" + abbr_tr + '\'' +
                ", desc_tr='" + desc_tr + '\'' +
                ", kind_tr='" + kind_tr + '\'' +
                '}';
    }
}
